Assigns can only be used on the last parameter Error

You used the Assigns keyword in a Method declaration for a parameter other than the last parameter. If there is only one parameter, the use of Assigns is permitted.


Example

The following declaration uses the Assigns keyword for the first parameter.

Sub SquareIt( Assigns x as Double, y as Double)

See Also

Assigns keyword.